package com.ckf.login_wx.servic.impl;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ckf.login_wx.entity.Material;
import com.ckf.login_wx.mapper.MaterialMapper;
import com.ckf.login_wx.servic.MaterialService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


@Service
@Transactional
public class MaterialServiceImpl extends ServiceImpl<MaterialMapper, Material> implements MaterialService {
	@Autowired
    private MaterialMapper MaterialMapper;

	@Override
	public List<Material> seletime(String talk) {
		return MaterialMapper.seletime(talk);
	}
	@Override
	public List<Material> seletimebyquan(String talk,String saisie) {
		return MaterialMapper.seletimebyquan(talk,saisie);
	}
	@Override
	public List<Material> selectlike(String likename,String talk) {
		return MaterialMapper.selectlike(likename,talk);
	}
}
